package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
/**
    * 菜单表
    */
@Data
@TableName(value = "menu")
public class Menu {
    /**
     * 菜单id
     */
    @TableId(value = "m_id", type = IdType.INPUT)
    private Long mId;

    /**
     * 菜名
     */
    @TableField(value = "dish_name")
    private String dishName;

    /**
     * 类型，1代表粤菜,2代表湘菜，3代表川菜
     */
    @TableField(value = "dish_type")
    private Integer dishType;

    /**
     * 口味,1代表微辣，2代表中辣，3代表特辣
     */
    @TableField(value = "taste")
    private Integer taste;

    /**
     * 份额,1代表小份，2代表中份，3代表大份
     */
    @TableField(value = "`share`")
    private Integer share;

    /**
     * 价格
     */
    @TableField(value = "price")
    private Double price;

    /**
     * 点赞数
     */
    @TableField(value = "praise_number")
    private Integer praiseNumber;

    /**
     * 图片地址
     */
    @TableField(value = "img")
    private Long img;

    /**
     * 是否可点，0代表售空，1代表正常
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 是否删除，0是删除，1是正常
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    public static final String COL_M_ID = "m_id";

    public static final String COL_DISH_NAME = "dish_name";

    public static final String COL_DISH_TYPE = "dish_type";

    public static final String COL_TASTE = "taste";

    public static final String COL_SHARE = "share";

    public static final String COL_PRICE = "price";

    public static final String COL_PRAISE_NUMBER = "praise_number";

    public static final String COL_IMG = "img";

    public static final String COL_STATUS = "status";

    public static final String COL_IS_DELETE = "is_delete";
}